home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIFER__
/
PROTO
/
U
/
COMMON_L.H
< prev
next >
Wrap
Text File
|
1991-08-02
|
837b
|
26 lines
/* Common_Life */ /* Common */
/* File name: Common_Life.h */
/* Function: Common variables for program specific code. */
/* History: 7/23/91 Original by Prototyper 3.0 */
/* ======================================================= */
#define InTEBoxX 8 /* value of DType when cursor hit is in TEBOX */
#define InTEBoxY 7
#define CellBox 4
#define MaxColumns 10
#define MaxRows 5
extern long gX_Value;
extern long gY_Value;
extern long gCellCounter;
/* ======================================================= */
/* PROTOTYPES */
Boolean CHECKXY(DialogPtr GetSelection, short DType, Handle DItem, Rect tempRect);
void STORE_VALUES(DialogPtr GetSelection, short DType, Handle DItem, Rect tempRect);
void LIFE_PROGRAM(void);
void DRAWNSTRING(void);
void COMPUTE(void);
int NEIGHBORCOUNT(int countY, int countX);